package com.assessment.entity;

import java.util.Date;

/**
 * 请假申请表
 * @author lenovo
 *
 */

public class Apply {
	
	private int staff_id;  //员工编号
	
	private String staff_name;//员工姓名
	
	private int apply_jieduan;//请假阶段
	
	private Date apply_time;//申请时间
	
	private int apply_state;//申请状态     1:上午     2：下午     3：全天
	
	private String apply_reason;//请假原因
	
	public Apply(){};
	
	public Apply(int staffId, String staffName, int applyJieduan,
			Date applyTime, int applyState, String reason) {
		super();
		staff_id = staffId;
		staff_name = staffName;
		apply_jieduan = applyJieduan;
		apply_time = applyTime;
		apply_state = applyState;
		this.apply_reason = reason;
	}
	
	public Apply(int staffId, int applyJieduan, Date applyTime, int applyState,
			String reason) {
		super();
		staff_id = staffId;
		apply_jieduan = applyJieduan;
		apply_time = applyTime;
		apply_state = applyState;
		this.apply_reason = reason;
	}

	public int getStaff_id() {
		return staff_id;
	}

	public void setStaff_id(int staffId) {
		staff_id = staffId;
	}

	public String getStaff_name() {
		return staff_name;
	}

	public void setStaff_name(String staffName) {
		staff_name = staffName;
	}

	public Date getApply_time() {
		return apply_time;
	}

	public void setApply_time(Date applyTime) {
		apply_time = applyTime;
	}

	public int getApply_state() {
		return apply_state;
	}

	public void setApply_state(int applyState) {
		apply_state = applyState;
	}

	public String getApply_reason() {
		return apply_reason;
	}

	public void setApply_reason(String applyReason) {
		apply_reason = applyReason;
	}

	public int getApply_jieduan() {
		return apply_jieduan;
	}

	public void setApply_jieduan(int applyJieduan) {
		apply_jieduan = applyJieduan;
	}

	@Override
	public String toString() {
		return "Apply [apply_state=" + apply_state + ", apply_time="
				+ apply_time + ", reason=" + apply_reason + ", staff_id=" + staff_id
				+ "]";
	}
	
}
